# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: bzy-080408 <Bzy080408@outlook.com>
pkgname=device-huawei-milan
pkgdesc="Huawei Maimang 5 / G9 (Plus) / Nova (Plus)"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
	firmware-huawei-milan
	firmware-qcom-adreno-a530
	linux-postmarketos-qcom-msm8953
	lk2nd-msm8953
	mkbootimg
	msm-firmware-loader
	postmarketos-base
	soc-qcom-msm8953
	soc-qcom-msm8953-modem
"
makedepends="devicepkg-dev"
source="
	deviceinfo
	modules-initfs
"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

sha512sums="
9f201c264c8a30756a631cd39b7868575599fa1d36e0d3885091eeebe11f52bfb17d1d1a6ca4d5a78e3bed45aab3349afd637182a1cd5ce2f8ee32490e1adf55  deviceinfo
5c7a190070b1e4f3f0517b24bbaeaf37da5a2dd815081233e29f403c8dfcf3921cb6651b9adc88677fa780f65ebb7c2c174de35e090692a18fd9ccdc75793589  modules-initfs
"
